﻿@model GameSchoolApplication.Models.Announcement

@{
    ViewBag.Title = "Eyða skilaboðum";
	Layout = "~/Views/Shared/_TeacherMore.cshtml";
}

<h2>Eyða skilaboðum</h2>
<section id="TeacherSingleMainContent">
<h3>Ertu viss um að þú viljir eyða þessum skilaboðum?</h3>
<fieldset>
    <legend></legend>

    <div class="display-label">Skilaboð:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Content)
    </div>

    <div class="display-label">Leikur:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.Game.Title)
    </div>

    <div class="display-label">Dagsetning skráningar:</div>
    <div class="display-field">
        @Html.DisplayFor(model => model.DateTime)
    </div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Til baka í lista", "Index")
    </p>
}
</section>